package cn.king.springframework.bean.test;

import java.util.HashMap;
import java.util.Map;

public class UserDao {
    private static Map<String,String> hashMap = new HashMap<>();
    static{
        hashMap.put("10001","zhangsan");
        hashMap.put("10002","lisi");
        hashMap.put("10003","wangwu");
    }

    String queryUserInfo(String uid){
        return "info uid=" + uid + ":" + hashMap.get(uid) ;
    }
}
